package com.cskaoyan.linuxdemo.web;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    @GetMapping("liu")
    public String getDetail(){

        System.out.println("访问到了...");

        return "master liu is handsome";

    }

    @GetMapping("ligenli")
    public String getDetails(){

        return "ligenli daqi";

    }


}
